package org.exez.modules.visitor.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.exez.modules.visitor.entity.Accompanying;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description: 访客申请记录表
 * @Author: exez-boot
 * @Date: 2020-06-04
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "访客以及随从对象")
public class ReservationApplicationDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 访客姓名
     */
    @Excel(name = "访客姓名", width = 15)
    @ApiModelProperty(value = "访客姓名")
    private String name;
    /**
     * 访客电话号码
     */
    @Excel(name = "访客电话号码", width = 15)
    @ApiModelProperty(value = "访客电话号码")
    private String mobile;
    /**
     * 访客身份证号
     */
    @Excel(name = "访客身份证号", width = 15)
    @ApiModelProperty(value = "访客身份证号")
    private String identityValue;

    /**
     * 1身份证，2护照
     */
    @Excel(name = "1身份证，2护照", width = 15)
    @ApiModelProperty(value = "1身份证，2护照")
    private java.lang.Integer identityType;

    /**
     * 访客性别 0:女 1：男
     */
    @Excel(name = "访客性别 0:女 1：男", width = 15)
    @ApiModelProperty(value = "访客性别 0:女 1：男")
    private Integer sex;
    /**
     * 审核状态1：提交申请 2：申请通过(未访) 3：访问成功（已访） 4：审核失败
     */
    @Excel(name = "审核状态1：提交申请 2：申请通过(未访) 3：访问成功（已访） 4：审核失败", width = 15)
    @ApiModelProperty(value = "审核状态1：提交申请 2：申请通过(未访) 3：访问成功（已访） 4：审核失败")
    private Integer status;

    /**
     * 预约渠道 1：微信预约  2：现场预约
     */
    @Excel(name = "预约渠道 1：微信预约  2：现场预约", width = 15)
    @ApiModelProperty(value = "预约渠道 1：微信预约  2：现场预约")
    private Integer reservationChannel;

    /**
     * 是否随行 1：是 0否
     */
    @Excel(name = "是否随行 1：是 0否", width = 15)
    @ApiModelProperty(value = "是否随行 1：是 0否")
    private Integer accompanyingStatus;
    /**
     * 访客所属公司
     */
    @Excel(name = "访客所属公司", width = 15)
    @ApiModelProperty(value = "访客所属公司")
    private String company;
    /**
     * 微信公众号唯一id
     */
    @Excel(name = "微信公众号唯一id", width = 15)
    @ApiModelProperty(value = "微信公众号唯一id")
    private String openId;
    /**
     * 到访类型
     */
    @Excel(name = "到访类型id", width = 15)
    @ApiModelProperty(value = "到访类型id")
    private Integer visitTypeId;

    /**
     * 到访类型
     */
    @Excel(name = "到访类型名称", width = 15)
    @ApiModelProperty(value = "到访类型名称")
    private String visitTypeName;


    /**
     * 钉钉记录id
     */
    @Excel(name = "钉钉记录id", width = 15)
    @ApiModelProperty(value = "钉钉记录id")
    private java.lang.String recordId;

    /**
     * 被访人钉钉用户id
     */
    @Excel(name = "被访人钉钉用户id", width = 15)
    @ApiModelProperty(value = "被访人钉钉用户id")
    private java.lang.String dingUserId;

    /**
     * 拜访原因
     */
    @Excel(name = "拜访原因", width = 15)
    @ApiModelProperty(value = "拜访原因")
    private String visitRemark;
    /**
     * 被访人单位id
     */
    @Excel(name = "被访人单位id", width = 15)
    @ApiModelProperty(value = "被访人单位id")
    private Integer respondentInstitutionId;

    /**
     * 被访人单位名称
     */
    @Excel(name = "被访人单位名称", width = 15)
    @ApiModelProperty(value = "被访人单位名称")
    private String respondentInstitutionName;
    /**
     * 被访人职位
     */
    @Excel(name = "被访人职位", width = 15)
    @ApiModelProperty(value = "被访人职位")
    private String respondentJobs;
    /**
     * 被访人姓名
     */
    @Excel(name = "被访人姓名", width = 15)
    @ApiModelProperty(value = "被访人姓名")
    private String respondentName;
    /**
     * 被访人手机
     */
    @Excel(name = "被访人手机", width = 15)
    @ApiModelProperty(value = "被访人手机")
    private String respondentMobile;
    /**
     * 访问日期
     */
    @Excel(name = "访问日期", width = 20, format = "yyyy/MM/dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "访问日期")
    private Date visitDate;

    /**
     * 人脸采集(拍正面照)
     */
    @Excel(name = "人脸采集(拍正面照)", width = 15)
    @ApiModelProperty(value = "人脸采集(拍正面照)")
    private String facePhoto;
    /**
     * 驾车拜访的输入车牌号
     */
    @Excel(name = "驾车拜访的输入车牌号", width = 15)
    @ApiModelProperty(value = "驾车拜访的输入车牌号")
    private String numberPlate;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 修改时间
     */
    @Excel(name = "修改时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


    /**
     * 甬行码颜色1,绿色  2，黄色  3红色
     */
    @Excel(name = "甬行码颜色1,绿色  2，黄色  3红色", width = 15)
    @ApiModelProperty(value = "甬行码颜色1,绿色  2，黄色  3红色")
    private java.lang.Integer codeColour;

    /**
     * 到达日期
     */
    @Excel(name = "到达日期", width = 20, format = "yyyy/MM/dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "到达日期")
    private java.util.Date arrivalsTime;

    /**
     * 访客随行集合
     */
    @ApiModelProperty(value = "访客随行集合")
    private List<Accompanying> accompanyingList;

}
